import request from '@/api/request'
const config = request.config
// 登录
export function login(params) {
  return request.post(config.user + "/common/login/admin", params)
}
// 退出登录
export function loginOut(params) {
  return request.post(config.user + "/common/logout/admin", params)
}
// 获取谷歌验证码和密钥
export function getGooglecode(params) {
  return request.get(config.auth + "/common/googleAuth/createGoogleAuth", params)
}